package com.micro.boot.exception;

/**
 * 
 * @Description: 自定义异常类
 * @author renweiping
  *@e_mail renweiping_1113@google.com
 * @date 2018年9月18日
 */
public class CustomGenericException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	private String errCode;
	private String errMsg;

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public CustomGenericException(String errCode, String errMsg) {
		this.errCode = errCode;
		this.errMsg = errMsg;
	}
}
